package com.home.demo.service;



import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.home.demo.common.PageUtils;
import com.home.demo.entity.UserEntity;
import com.home.demo.entity.dto.user.UserAndRoleSaveDTO;
import com.home.demo.entity.dto.user.UserUpdateDTO;
import com.home.demo.entity.vo.user.UserListVO;
import com.home.demo.entity.vo.user.UserLoginVO;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author ${author}
 * @email ${email}
 * @date 2024-01-17 15:05:42
 */
public interface UserService extends IService<UserEntity> {


    PageUtils queryPage(Map<String, Object> params);


    boolean saveInfo(UserAndRoleSaveDTO user);

    UserEntity updateByIdOrUpdatePassword(UserUpdateDTO user);

    UserLoginVO selectUserInfo(String username);


    IPage<UserListVO> getUserList(Map<String, Object> params);

    List<UserEntity> getCareList();
}

